#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_City.nanopb.h"
#ifndef MAX_CITY_MAP_NUM
#define MAX_CITY_MAP_NUM 70
#endif

class CityMapDesc : public NFI_DESC_TEMPLATE_MACRO(CityMapDesc, E_CityMap, EOT_CONST_CITY_MAP_DESC_ID, MAX_CITY_MAP_NUM)
public:
	CityMapDesc();
	virtual ~CityMapDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
